![]() |
PATH![]() |
![]() ![]() |
Commands are the words or phrases you use in AppleScript statements to request actions or results. Simple values cannot respond to commands, but composite values can. For example, lists can respond to the Count command, as shown in the following example.
count {"This", "list", "has", 5, "items"}
--result: 5
Each composite value class definition includes a "Commands Handled" section that lists commands to which values of that class can respond.